package com.snooker.snooker;

import com.snooker.snooker.util.IpUtil;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @Description: 项目启动类
 * @Param:
 * @return:
 * @Author: fenghouzhi
 * @Date: 2018/11/6
 * @Time: 1:28 PM
 */
@Slf4j
@MapperScan("com.snooker.snooker.dao")
@SpringBootApplication
public class SnookerApplication {

  public static void main(String[] args) {
    SpringApplication.run(SnookerApplication.class, args);
    log.info("项目启动完成,IP地址:  " + IpUtil.getLocalIP());
  }

}
